projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3fef8b
)
Fix icon reads in gpsutil format.
author
robertl
<robertl>
Sat, 10 Mar 2007 22:45:44 +0000
(22:45 +0000)
committer
robertl
<robertl>
Sat, 10 Mar 2007 22:45:44 +0000
(22:45 +0000)
gpsutil.c
patch
|
blob
|
history
diff --git
a/gpsutil.c
b/gpsutil.c
index 7f2c9ae8905e4eb78ccfb7067b5f2e145def9d33..d9f7dcbe3e52a4ec515cc9b7cadb8584c0f9ff8f 100644
(file)
--- a/
gpsutil.c
+++ b/
gpsutil.c
@@
-90,7
+90,7
@@
data_read(void)
ibuf += 9;
}
- n = sscanf(ibuf, "%lf%c %lf%c %ld%c %30[^,]
s
%2s",
+ n = sscanf(ibuf, "%lf%c %lf%c %ld%c %30[^,] %2s",
&lat, &latdir, &lon, &londir,
&alt, &alttype, desc, icon);
/* Require at least first threee fields, otherwise ignore */